gpio: lpc32xx: Use priv_data instead of platdata
authorAxel Lin <[email protected]>
Tue, 14 Apr 2015 06:55:24 +0000 (14:55 +0800)
committerAlbert ARIBAUD <[email protected]>
Tue, 7 Jul 2015 06:03:56 +0000 (08:03 +0200)
commit1f9e5e228c23831bb8e8896209bb67ebcfaf59a7
tree5768d7caa0401ab4af59364cadf9b6d7f734479c
parent42eccdd650915962345daeae831dab183d67511b
gpio: lpc32xx: Use priv_data instead of platdata

The LPC32XX GPIO driver platdata currently contains GPIO state information,
which should go into priv_data. Thus rename lpc32xx_gpio_platdata to
lpc32xx_gpio_priv and convert to use dev_get_priv() instead.

Signed-off-by: Axel Lin <[email protected]>
Tested-by: Albert ARIBAUD <[email protected]>
drivers/gpio/lpc32xx_gpio.c